package com.wanmait.hr.util;

public class FileUtils
{
    public static String getFileExt(String fileName)
    {
        String ext = null;
        int lastIndex = fileName.lastIndexOf(".");
        if(lastIndex>-1)
        {
            ext = fileName.substring(lastIndex+1);
        }
        return ext;
    }
}
